package net.csdn.business.kanban.common.domain.request;

import com.alibaba.fastjson2.annotation.JSONField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName SingleSelectAttribute
 * @Description TODO
 * @Author liuzhisheng
 * @Date 2023/9/19
 **/
@NoArgsConstructor
@AllArgsConstructor
@Data
public class SingleSelectAttribute {
    @JSONField(serialize = false)
    @Schema(name = "id", description = "id")
    private Long id;

    @Schema(name = "color", description = "颜色", allowableValues = {"Gray","Blue","Green","Yellow","Orange","Red","Pink","Purple"})
    private String color;

    @Schema(name = "desc", description = "描述")
    private String desc;

    @Schema(name = "name", description = "名称")
    private String name;

    @JSONField(serialize = false)
    @Schema(name = "priority", description = "排序优先级")
    private Integer priority;
}
